]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
build: Rename variable for clarity
authorFlorian Müllner <fmuellner@gnome.org>
Fri, 11 Aug 2017 15:13:53 +0000 (17:13 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Fri, 11 Aug 2017 15:27:24 +0000 (17:27 +0200)
st_built_sources contains the source and header generated by mkenums,
not any other generated sources. Clarify that in the name, as we are
about to use source and header separately.

src/st/meson.build

index ab5526c50501ab28253bf0d2a6a015792b339e17..63fc442c01e1c421b9405c186d0fd9e234aa215f 100644 (file)
@@ -82,13 +82,13 @@ st_sources = [
   'st-widget.c'
 ]
 
-st_built_sources = gnome.mkenums('st-enum-types',
+st_enums = gnome.mkenums('st-enum-types',
   sources: st_headers,
   c_template: 'st-enum-types.c.in',
   h_template: 'st-enum-types.h.in'
 )
 
-st_gir_sources = st_sources + st_private_headers + st_headers + st_built_sources
+st_gir_sources = st_sources + st_private_headers + st_headers + st_enums
 
 st_non_gir_sources = [
   'st-scroll-view-fade.c',
@@ -128,7 +128,7 @@ libst = shared_library('st-1.0',
 )
 
 libst_dep = declare_dependency(link_with: libst,
-  sources: st_built_sources
+  sources: st_enums
 )
 
 test_theme = executable('test-theme',